<!DOCTYPE html>
<html>
<head>
    <title>Array Type Example 14</title>
    <script type="text/javascript">
        var values = [0, 1, 5, 10, 15];
        values.sort();
        alert(values);    //0,1,10,15,5

    </script>
</head>
<body>

</body>
</html>